<!DOCTYPE html>
<html lang="zh-CN" class="dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - X-Brain Agent</title>
    <link rel="stylesheet" href="css/dark-theme.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
</head>
<body class="bg-gray-900 text-gray-100 h-screen flex items-center justify-center">
    <div class="max-w-md w-full mx-4">
        <!-- Logo -->
        <div class="text-center mb-8">
            <h1 class="text-3xl font-bold mb-2">X-Brain Agent</h1>
            <p class="text-gray-400">智能知识管理平台</p>
        </div>

        <!-- Login Form -->
        <div class="bg-gray-800 rounded-lg shadow-lg p-8">
            <form class="space-y-6">
                <div>
                    <label class="block text-sm font-medium mb-2">用户名</label>
                    <input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:outline-none focus:border-blue-500" placeholder="请输入用户名">
                </div>
                <div>
                    <label class="block text-sm font-medium mb-2">密码</label>
                    <input type="password" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:outline-none focus:border-blue-500" placeholder="请输入密码">
                </div>
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <input type="checkbox" class="bg-gray-700 border-gray-600 rounded" id="remember">
                        <label for="remember" class="ml-2 text-sm text-gray-400">记住我</label>
                    </div>
                    <a href="#" class="text-sm text-blue-500 hover:text-blue-400">忘记密码？</a>
                </div>
                <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-lg">
                    登录
                </button>
            </form>
        </div>

        <!-- Footer -->
        <div class="text-center mt-6">
            <p class="text-gray-400 text-sm">还没有账号？ <a href="#" class="text-blue-500 hover:text-blue-400">立即注册</a></p>
        </div>
    </div>
</body>
</html>
